package pl.edu.agh.logview.model;

public class AbstractEdge implements Edge {

	private Vertex from;
	private Vertex to;
	private Object graphEdge;
	private EdgeType edgeType;
	private String message;
	
	@Override
	public Vertex from() {
		return from;
	}

	@Override
	public Vertex to() {
		return to;
	}

	@Override
	public Object getGraphEdge() {
		return graphEdge;
	}

	@Override
	public EdgeType getEdgeType() {
		return edgeType;
	}

	public void setFrom(Vertex from) {
		this.from = from;
	}

	public void setTo(Vertex to) {
		this.to = to;
	}

	public void setGraphEdge(Object graphEdge) {
		this.graphEdge = graphEdge;
	}

	public void setEdgeType(EdgeType edgeType) {
		this.edgeType = edgeType;
	}

	@Override
	public String getMessage() {
		return message;
	}

	@Override
	public void setMessage(String s) {
		message = s;		
	}
	
	

}
